package design.patterns.statemode.tcpdemo;

/**
 * desc     : 环境类
 * dateTime : 2020-06-13 22:15
 *
 * @author wwchen
 */
public class TcpConnectionContext {
    private TcpState state;

    public void open() {
        state.open();
    }

    public void close() {
        state.close();
    }

    public void ackowlege() {
        state.acknowledge();
    }
}
